package edu.umn.ftpmaster;

import java.io.Serializable;

public class Command implements Serializable{
	private static final long serialVersionUID = -8324860847127752934L;
	
	private String option,extraMessage;
	private Location_stp add;
	private String eventName;
	private String creator_name;       						/*added by viswanath; This would help in the searching*/
	private String laddress;                                                        /*added by viswanath; Again added for improving search*/
	public Command(String option, Location_stp ll, String name, String message, String creator, String laddress){
		this.option=option;
		add = ll;
		eventName = name;
		extraMessage = message;
		creator_name = creator;
		this.laddress = laddress;
	}
	public String getMessage(){
		return extraMessage;
	}

	public String getName(){
		return eventName;
	}
	public Location_stp getLocation(){
		return add;
	}
	public String getOption()
	{
		return option;
	}
	public String getCreator()
	{
		return creator_name;
	}
	public String getLaddress()
	{
		return laddress;
	}
}
